﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Chuancanprojct.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            //ViewBag.Title = "我的首页";
            ViewBag.Title = "十步杀一人，千里不留行";
            return View();
        }

        public ActionResult About()
        {
            ViewBag.Message1 = "李白的诗.";
            ViewBag.Message = "十步杀一人，千里不留行";
            return View();
        }

        public ActionResult Contact()
        {
            ViewBag.Message = "你的联系页面";
         

            return View("About");
        }

        public ActionResult Try()
        {

            return View("~/Views/Try/Index.cshtml");
        }
    }
}